class Tins::MethodDescription::Signature

Attributes

parameters[R]

Public Class Methods

new(*parameters) click to toggle source
# File lib/tins/method_description.rb, line 75
def initialize(*parameters)
  @parameters = parameters
end

Public Instance Methods

==(other) click to toggle source
# File lib/tins/method_description.rb, line 85
def ==(other)
  @parameters == other.parameters
end
===(method) click to toggle source
# File lib/tins/method_description.rb, line 89
def ===(method)
  self == method.signature
end
eql?(other) click to toggle source
# File lib/tins/method_description.rb, line 81
def eql?(other)
  @parameters.eql? other.parameters
end
inspect() click to toggle source
# File lib/tins/method_description.rb, line 97
def inspect
  "#<#{self.class} (#{to_s})>"
end
to_s() click to toggle source
# File lib/tins/method_description.rb, line 93
def to_s
  @parameters * ?,
end